/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#pragma once  
#include "common/pluginbase.h"  
  
class Plugin :  
    public nsPluginInstanceBase  
{  
private:  
    NPP m_pNPInstance;  
    NPBool m_bInitialized;  
  
    NPWindow* mWindow;  
  
    HWND m_hWnd;  
  
public:    
    Plugin(NPP pNPInstance);  
    ~Plugin();  
  
    NPBool init(NPWindow* pNPWindow);  
    void shut();  
    NPBool isInitialized();  
};  